package com.ruoyi.incident.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 事件对象 xlkj_incident
 *
 * @author wang
 * @date 2022-01-13
 */
public class XlkjIncident extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 事件名称 */
    @Excel(name = "事件名称")
    private String title;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String type;

    /** 治安重点地区 */
    @Excel(name = "治安重点地区")
    private String address;

    /** 突出问题 */
    @Excel(name = "突出问题")
    private String questionType;

    /** 涉及区域类型 */
    @Excel(name = "涉及区域类型")
    private String regionType;

    /** 涉及区域范围 */
    @Excel(name = "涉及区域范围")
    private String region;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskType;

    /** 整治牵头单位 */
    @Excel(name = "整治牵头单位")
    private String involveCompany;

    /** 整治牵头单位负责人姓名 */
    @Excel(name = "整治牵头单位负责人姓名")
    private String involveName;

    /** 整治牵头单位负责人联系方式 */
    @Excel(name = "整治牵头单位负责人联系方式")
    private String involvePhone;

    /** 整治参与单位 */
    @Excel(name = "整治参与单位")
    private String participateCompany;

    /** 整治期间查处治安案件数 */
    @Excel(name = "整治期间查处治安案件数")
    private String participateSecurity;

    /** 整治期间破获刑事案件数 */
    @Excel(name = "整治期间破获刑事案件数")
    private String participateCriminal;

    /** 办理状态 */
    @Excel(name = "办理状态")
    private String status;

    /**
     * 所属网格
     * @param id
     */
    @Excel(name = "所属网格")
    private String departmentId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    @Transient
    private String phone;

    private SysUser sysUser;

    /**
     * 是否需要协助
     */
    private String assist;

    /**
     * 协助意见
     */
    private String opinion;

    /**
     * 协助部门
     */
    private String assistDepartment;

    /**
     * 网格员办理说明
     */
    private String handleRemark;

    /**
     * 网格长审核意见
     */
    private String examineRemark;

    /**
     * 用于查询非空opinion
     */
    @Transient
    private String opinionNull;

    /**
     * 用于查询 1 、 6 状态
     * @return
     */
    @Transient
    private String sss;

    /**
     * 用于查询 1 、 5 状态
     */
    @Transient
    private String aaa;

    @Transient
    private Boolean userHelp;

    public Boolean getUserHelp() {
        return userHelp;
    }

    public void setUserHelp(Boolean userHelp) {
        this.userHelp = userHelp;
    }

    public String getAaa() {
        return aaa;
    }

    public void setAaa(String aaa) {
        this.aaa = aaa;
    }

    public String getSss() {
        return sss;
    }

    public void setSss(String sss) {
        this.sss = sss;
    }

    public String getAssistDepartment() {
        return assistDepartment;
    }

    public void setAssistDepartment(String assistDepartment) {
        this.assistDepartment = assistDepartment;
    }

    public String getHandleRemark() {
        return handleRemark;
    }

    public void setHandleRemark(String handleRemark) {
        this.handleRemark = handleRemark;
    }

    public String getExamineRemark() {
        return examineRemark;
    }

    public void setExamineRemark(String examineRemark) {
        this.examineRemark = examineRemark;
    }

    public String getOpinionNull() {
        return opinionNull;
    }

    public void setOpinionNull(String opinionNull) {
        this.opinionNull = opinionNull;
    }

    public String getAssist() {
        return assist;
    }

    public void setAssist(String assist) {
        this.assist = assist;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    private String departmentList;

    public String getDepartmentList() {
        return departmentList;
    }

    public void setDepartmentList(String departmentList) {
        this.departmentList = departmentList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setQuestionType(String questionType)
    {
        this.questionType = questionType;
    }

    public String getQuestionType()
    {
        return questionType;
    }
    public void setRegionType(String regionType)
    {
        this.regionType = regionType;
    }

    public String getRegionType()
    {
        return regionType;
    }
    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getRegion()
    {
        return region;
    }
    public void setRiskType(String riskType)
    {
        this.riskType = riskType;
    }

    public String getRiskType()
    {
        return riskType;
    }
    public void setInvolveCompany(String involveCompany)
    {
        this.involveCompany = involveCompany;
    }

    public String getInvolveCompany()
    {
        return involveCompany;
    }
    public void setInvolveName(String involveName)
    {
        this.involveName = involveName;
    }

    public String getInvolveName()
    {
        return involveName;
    }
    public void setInvolvePhone(String involvePhone)
    {
        this.involvePhone = involvePhone;
    }

    public String getInvolvePhone()
    {
        return involvePhone;
    }
    public void setParticipateCompany(String participateCompany)
    {
        this.participateCompany = participateCompany;
    }

    public String getParticipateCompany()
    {
        return participateCompany;
    }
    public void setParticipateSecurity(String participateSecurity)
    {
        this.participateSecurity = participateSecurity;
    }

    public String getParticipateSecurity()
    {
        return participateSecurity;
    }
    public void setParticipateCriminal(String participateCriminal)
    {
        this.participateCriminal = participateCriminal;
    }

    public String getParticipateCriminal()
    {
        return participateCriminal;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDepartmentId(String departmentId)
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentId()
    {
        return departmentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("type", getType())
            .append("address", getAddress())
            .append("questionType", getQuestionType())
            .append("regionType", getRegionType())
            .append("region", getRegion())
            .append("riskType", getRiskType())
            .append("involveCompany", getInvolveCompany())
            .append("involveName", getInvolveName())
            .append("involvePhone", getInvolvePhone())
            .append("participateCompany", getParticipateCompany())
            .append("participateSecurity", getParticipateSecurity())
            .append("participateCriminal", getParticipateCriminal())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("departmentId", getDepartmentId())
            .toString();
    }
}
